//
//  BasePagingViewController.h
//  XV
//
//  Created by apple on 06/06/2019.
//  Copyright © 2019 XR. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JXPagerView.h"
#import "JXCategoryTitleView.h"


static const CGFloat JXTableHeaderViewHeight = 375+75;
static const CGFloat JXheightForHeaderInSection = 50;


NS_ASSUME_NONNULL_BEGIN

/**
 分页显示基类
 */
@interface BasePagingViewController : UIViewController <JXPagerViewDelegate, JXPagerMainTableViewGestureDelegate>

@property (nonatomic, strong) NSArray <NSString *> *titles;

@property (nonatomic, strong) JXPagerView *pagerView;
@property (nonatomic, strong) UIView *headerView;
@property (nonatomic, strong, readonly) JXCategoryTitleView *categoryView;
@property (nonatomic, assign) BOOL isNeedFooter;
@property (nonatomic, assign) BOOL isNeedHeader;

- (JXPagerView *)preferredPagingView;

@end

NS_ASSUME_NONNULL_END
